Resource URL: /platform/<<version=3>>/antivirus/reports/scans/<ID>

    Overview: This resource represents a single antivirus scan report.

     Methods: GET, DELETE

********************************************************************************

Method GET: Retrieve one antivirus scan report.

       URL: GET /platform/<<version=3>>/antivirus/reports/scans/<ID>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "reports": {
          "minItems": 0, 
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "A report for an antivirus scan.", 
            "properties": {
              "files": {
                "minimum": 0, 
                "type": "integer", 
                "description": "The number of files scanned.", 
                "maximum": 4294967295
              }, 
              "status": {
                "minLength": 0, 
                "type": "string", 
                "description": "The state of the job.", 
                "maxLength": 255
              }, 
              "end": {
                "type": [
                  {
                    "minimum": 0, 
                    "type": "integer", 
                    "maximum": 4294967295
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "The time the job ended."
              }, 
              "job_id": {
                "type": [
                  {
                    "minimum": 0, 
                    "type": "integer", 
                    "maximum": 4294967295
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "The ID of the job that ran the policy.  If the scan was manually run on a single file, this field will be null."
              }, 
              "infections": {
                "minimum": 0, 
                "type": "integer", 
                "description": "The number of infections found.", 
                "maximum": 4294967295
              }, 
              "bytes_sent": {
                "minimum": 0, 
                "type": "integer", 
                "description": "The number of bytes sent to the virus definition server to be scanned.", 
                "maximum": 18446744073709551615
              }, 
              "start": {
                "type": [
                  {
                    "minimum": 0, 
                    "type": "integer", 
                    "maximum": 4294967295
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "The time the job started."
              }, 
              "duration": {
                "minimum": 0, 
                "type": "integer", 
                "description": "The length of time the job ran for.", 
                "maximum": 4294967295
              }, 
              "size": {
                "minimum": 0, 
                "type": "integer", 
                "description": "The cumulative size of the files scanned.", 
                "maximum": 18446744073709551615
              }, 
              "id": {
                "minLength": 0, 
                "type": "string", 
                "description": "A unique identifier for the report.", 
                "maxLength": 255
              }, 
              "policy_id": {
                "minLength": 0, 
                "type": "string", 
                "description": "The id of the policy that this scan job executed.", 
                "maxLength": 255
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method DELETE: Delete one antivirus scan report, and all of its associated
               threat reports.

          URL: DELETE /platform/<<version=3>>/antivirus/reports/scans/<ID>

There are no query arguments for this method.

There is no JSON response body for this method.
